package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.HisContractpayDetailDao;
import io.renren.entity.HisContractpayDetailEntity;
import io.renren.service.HisContractpayDetailService;



@Service("hisContractpayDetailService")
public class HisContractpayDetailServiceImpl implements HisContractpayDetailService {
	@Autowired
	private HisContractpayDetailDao hisContractpayDetailDao;
	
	@Override
	public HisContractpayDetailEntity queryObject(String id){
		return hisContractpayDetailDao.queryObject(id);
	}
	
	@Override
	public List<HisContractpayDetailEntity> queryList(Map<String, Object> map){
		return hisContractpayDetailDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hisContractpayDetailDao.queryTotal(map);
	}
	
	@Override
	public void save(HisContractpayDetailEntity hisContractpayDetail){
		hisContractpayDetailDao.save(hisContractpayDetail);
	}
	
	@Override
	public void update(HisContractpayDetailEntity hisContractpayDetail){
		hisContractpayDetailDao.update(hisContractpayDetail);
	}
	
	@Override
	public void delete(String id){
		hisContractpayDetailDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		hisContractpayDetailDao.deleteBatch(ids);
	}
	
}
